package com.sjme.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sjme.domain.commonService.OptionGroup;
import com.sjme.domain.commonService.SelectOption;
import com.sjme.domain.commonService.dto.OptionGroupDto;
import com.sjme.domain.commonService.dto.SelectOptionDto;
import com.utils.Result;

import java.util.List;

public interface CommonService {
    public Result getSelectOptions(List<String> optionGroupKeys);
    public IPage<OptionGroup> queryOptionGroup(OptionGroupDto optionGroup);
    public boolean addOptionGroup(OptionGroup optionGroup);
    public String deleteOptionGroup(List<String> optionGroupKeys);
    public String updateOptionGroup(OptionGroup optionGroup);
    public IPage<SelectOption> querySelectOption(SelectOptionDto selectOption);
    public boolean addSelectOption(SelectOption selectOption);
    public boolean deleteSelectOption(List<String> selectOptionIds);
    public boolean updateSelectOption(SelectOption selectOption);
}
